<html>
  <head>
    <meta charset="utf-8"> 
    <title>美业红</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="http://apps.bdimg.com/libs/bootstrap/3.2.0/css/bootstrap.min.css">
    <script type='text/javascript' src='/public/js/jquery-1.11.2.min.js'></script>
    <script type="text/javascript" src='/public/js/jquery.validate.js'></script>       
  </head>
  <body>
    
    <div class="table-responsive">
      <table  class="table table-striped table-bordered" style=" margin-top:3rem;"  >
        <thead>
            <tr>
              <th>姓名</th>
              <th>账号</th>
              <th>创建时间</th>
              <th>账号状态</th>
            </tr>
          </thead>
          <tbody>
          <?php foreach($users as $v){  ?>
              <tr>
                <td><?php echo $v['name']?></td>
                <td><?php echo $v['account']?></td>
                <td><?php echo date("Y年m月d日",$v['create_time'])?></td>
                <td><?php if($v['status']==1){echo '正常';}else{echo '封号';}?></td>
              </tr>
          <?php }  ?>
          </tbody>   	
      </table>
    </div>                     
  </body> 
</html>                

